package com.weaver.drools.business.execution.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.weaver.drools.business.execution.service.IViewInsVcInpectionpandectService;
import com.weaver.drools.common.entity.ViewInsVcInpectionpandect;
import com.weaver.drools.common.dao.ViewInsVcInpectionpandectDao;
@Service
public class ViewInsVcInpectionpandectServiceImpl implements IViewInsVcInpectionpandectService {
	@Autowired
	private ViewInsVcInpectionpandectDao viewInsVcInpectionpandectDao;

	@Override
	public List<ViewInsVcInpectionpandect> findList(Long inpectionPandectId) throws Exception {
		String hql="from ViewInsVcInpectionpandect where inpectionpandectid="+inpectionPandectId;
		return viewInsVcInpectionpandectDao.findListByhql(hql);
	}

}
